package bupt.xixi.learning.test.event;

import bupt.xixi.learning.context.ApplicationListener;
import bupt.xixi.learning.context.event.ContextCloseEvent;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class ContextClosedEventListener implements ApplicationListener<ContextCloseEvent> {
    @Override
    public void onApplicationEvent(ContextCloseEvent event) {
        log.info("监听到关闭事件 「{}」", this.getClass().getName());
    }
}
